package lottery;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table
public class LotteryConfig
{
    private int id;
    private int lotteryId; //彩种id
    private String lotteryName; //彩票种类名称
    private int betwayId; //玩法
    private String betwayName; 
	private int rewardPoint;//奖金基数
    private int returnPoint; //返点基数
    private int frontMaxReturnPoint;  //前台开户最高返点
    private int bidReturnPoint; //上下级返点差
    private String changeable; //是否可调节 "Y"
    
    public int getBidReturnPoint()
    {
        return bidReturnPoint;
    }
    public void setBidReturnPoint(int bidReturnPoint)
    {
        this.bidReturnPoint = bidReturnPoint;
    }
    public int getFrontMaxReturnPoint()
    {
        return frontMaxReturnPoint;
    }
    public void setFrontMaxReturnPoint(int frontMaxReturnPoint)
    {
        this.frontMaxReturnPoint = frontMaxReturnPoint;
    }
    @Id
    @GeneratedValue
    public int getId()
    {
        return id;
    }
    public void setId(int id)
    {
        this.id = id;
    }
    public int getReturnPoint()
    {
        return returnPoint;
    }
    public void setReturnPoint(int returnPoint)
    {
        this.returnPoint = returnPoint;
    }
    public int getRewardPoint()
    {
        return rewardPoint;
    }
    public void setRewardPoint(int rewardPoint)
    {
        this.rewardPoint = rewardPoint;
    }
	public int getLotteryId() {
		return lotteryId;
	}
	public void setLotteryId(int lotteryId) {
		this.lotteryId = lotteryId;
	}
	@Column(length=30)
	public String getLotteryName() {
		return lotteryName;
	}
	public void setLotteryName(String lotteryName) {
		this.lotteryName = lotteryName;
	}
	public int getBetwayId() {
		return betwayId;
	}
	public void setBetwayId(int betwayId) {
		this.betwayId = betwayId;
	}
	@Column(length=30)
	public String getBetwayName() {
		return betwayName;
	}
	public void setBetwayName(String betwayName) {
		this.betwayName = betwayName;
	}
	public void setChangeable(String changeable) {
		this.changeable = changeable;
	}
	@Column(length=1)
	public String getChangeable() {
		return changeable;
	}
    
}
